#pragma once
#include "Action.h"
class Disaster : public Action
{
private:
	string typeOfDisaster;
public:

	Disaster()
	{
		this->typeOfDisaster = " ";
	}

	Disaster(string typeOfDisaster, string name, int year)
		:Action(name, year)
	{
		this->typeOfDisaster = typeOfDisaster;
	}

	void print()
	{
		Action::print();
		cout << "Type of disaster: " << this->typeOfDisaster;
	}

	string GetTypeOfDisaster() { return this->typeOfDisaster; }
	void SetTypeOfDisaster(string d){ this->typeOfDisaster = d; }

	~Disaster()
	{
	}
};

